package cn.myproject.user.service;

import cn.myproject.user.domian.User;
import cn.myproject.user.query.UserQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IUserservice {
    void addUser(User user);

    void updata(User user);

    User selectByid(Long id);

    PageInfo<User> selectAll(UserQuery userQuery);

    void delectall(List<Long> ids);

    void delectByid(Long id);
}
